Skip to content

Conversation

@bean1352
Copy link
Contributor

@bean1352 bean1352 commented Nov 6, 2025

Added "Understanding The SQLite Database" documentation page with instructions for accessing, inspecting, and optimizing PowerSync database files.

Get the SQLite file

  • Android: Single-command database export with customizable download path
  • iOS: Simulator database location finder
  • Web: OPFS export script and explanation of why IndexedDB databases can't be directly downloaded

Inspecting the SQLite file

  • Instructions for opening database using sqlite3 CLI and merging WAL file
  • dbstat query for analyzing table storage usage
  • Breakdown of PowerSync database size

Reducing the SQLite file size

  • VACUUM command usage
  • Page size optimization options

@bean1352 bean1352 requested review from benitav and rkistner November 6, 2025 10:03
Copy link
Contributor

@rkistner rkistner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good overall

…M command, and page size adjustments. Include warnings about potential issues on Windows and IndexedDB compatibility.
@kobiebotha kobiebotha merged commit 66775d8 into main Nov 11, 2025
4 checks passed
@kobiebotha kobiebotha deleted the diagnose-client-database branch November 11, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants